<?php

require_once('../../config/maptrick.conf.php');
require_once(SITE_ROOT . "config/session.php");
require_once(SITE_ROOT . 'lib/SmartyMaptrick.class.php');
require_once(SITE_ROOT . 'class/logic/LogicHoC.class.php');

$logic = LogicHoC::getInstance();
$smarty = new SmartyMaptrick();

if (isset($_GET['alliance'])) {
	$allianceID = $_GET['alliance'];
}
else $allianceID = 0;

if ($allianceID == 0) {
	$display_input = true;
}
else $display_input = false;

$smarty->assign('display_input', $display_input);

$smarty->display('hoc/input_alliance.tpl');

?>